const mongoose = require("mongoose");
mongoose.connect("mongodb://localhost:/test");
mongoose.Promise = Promise;
const Article = mongoose.model("Article", {
  title:String,
  content:String,
  createData:Date,
  auther:String
});

module.exports = Article;
